package com.prs.crm.service.purchase;

import com.prs.crm.domain.purchase.FundsInBar;
import com.prs.crm.domain.purchase.PurchaseOrder;
import com.prs.crm.domain.purchase.PurchaseReturned;
import com.prs.crm.domain.purchase.PurchaseReturnedStoreOut;
import com.prs.crm.domain.stock.Product;
import com.prs.crm.service.FlowService;

public interface PurchaseReturnedService extends FlowService<PurchaseReturned> {

	void saveAll(PurchaseReturned purchaseReturned, String[] productCodes,
			String[] productNames, String[] units, Integer[] nums,
			Double[] prices, Double[] allPrices, Double[] rebates,
			Double[] rebateUnits, Double[] rebatePrices,String[] barCodes,Product[] products,String[] detailAll,Integer[] yingjinruk);
	
	FundsInBar getFundsInBar(String code);
	
	PurchaseReturnedStoreOut  getPurchaseReturnedStoreOut(String code);

}
